<!DOCTYPE html>
<!--suppress ALL -->
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象解构</title>
    <script>
        const l = {
            name: "yl",
            age:18,
            address:["sh","hn"]

        };
        const {name, age:nl, address} = l;
        console.log(name);
        console.log(nl)
        console.log(address)




    </script>
</head>
<body>

</body>
</html>